QT       += core gui xml   widgets

TARGET = view

TEMPLATE = lib

DEFINES += VIEW_LIBRARY

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    desktop.cpp \
    exporter/progressdialog.cpp \
    exporter/spectrumexporter.cpp \
    functionbutton/functionbutton.cpp \
    infoprint/infoprint.cpp \
    tabframe/fileinfo/fileinfotab.cpp \
    tabframe/mapinfo/AbstractMapInfo/abstractmapinfotab.cpp \
    tabframe/mapinfo/ae/aeamp/aeampfeature.cpp \
    tabframe/mapinfo/ae/aeamp/aeampinfotab.cpp \
    tabframe/mapinfo/ae/aephase/aephasefeature.cpp \
    tabframe/mapinfo/ae/aephase/aephaseinfotab.cpp \
    tabframe/mapinfo/ae/aepulse/aepulsefeature.cpp \
    tabframe/mapinfo/ae/aepulse/aepulseinfotab.cpp \
    tabframe/mapinfo/ae/aewave/aewavefeature.cpp \
    tabframe/mapinfo/ae/aewave/aewaveinfotab.cpp \
    tabframe/mapinfo/concretemapinfo/concretemapinfo.cpp \
    tabframe/mapinfo/infrared/infraredfeature.cpp \
    tabframe/mapinfo/infrared/infraredinfotab.cpp \
    tabframe/mapinfo/mapinfotab.cpp \
    tabframe/mapinfo/prpd/prpdfeature.cpp \
    tabframe/mapinfo/prpd/prpdinfotab.cpp \
    tabframe/mapinfo/prps/prpsfeature.cpp \
    tabframe/mapinfo/prps/prpsinfotab.cpp \
    tabframe/mapinfo/tev/tevamp/tevampfeature.cpp \
    tabframe/mapinfo/tev/tevamp/tevampinfotab.cpp \
    tabframe/tabwidgetframe.cpp \
    view.cpp

HEADERS += \
    desktop.h \
    exporter/progressdialog.h \
    exporter/spectrumexporter.h \
    functionbutton/functionbutton.h \
    infoprint/infoprint.h \
    tabframe/fileinfo/fileinfotab.h \
    tabframe/mapinfo/AbstractMapInfo/abstractmapinfotab.h \
    tabframe/mapinfo/ae/aeamp/aeampfeature.h \
    tabframe/mapinfo/ae/aeamp/aeampinfotab.h \
    tabframe/mapinfo/ae/aephase/aephasefeature.h \
    tabframe/mapinfo/ae/aephase/aephaseinfotab.h \
    tabframe/mapinfo/ae/aepulse/aepulsefeature.h \
    tabframe/mapinfo/ae/aepulse/aepulseinfotab.h \
    tabframe/mapinfo/ae/aewave/aewavefeature.h \
    tabframe/mapinfo/ae/aewave/aewaveinfotab.h \
    tabframe/mapinfo/concretemapinfo/concretemapinfo.h \
    tabframe/mapinfo/infrared/infraredfeature.h \
    tabframe/mapinfo/infrared/infraredinfotab.h \
    tabframe/mapinfo/mapinfotab.h \
    tabframe/mapinfo/prpd/prpdfeature.h \
    tabframe/mapinfo/prpd/prpdinfotab.h \
    tabframe/mapinfo/prps/prpsfeature.h \
    tabframe/mapinfo/prps/prpsinfotab.h \
    tabframe/mapinfo/tev/tevamp/tevampfeature.h \
    tabframe/mapinfo/tev/tevamp/tevampinfotab.h \
    tabframe/tabwidgetframe.h \
    view_global.h \
    view.h

# Default rules for deployment.
unix {
    target.path = /usr/lib
}
!isEmpty(target.path): INSTALLS += target

win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../log/release/ -llog
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../log/debug/ -llog
else:unix: LIBS += -L$$OUT_PWD/../log/ -llog

INCLUDEPATH += $$PWD/../log
DEPENDPATH += $$PWD/../log


RESOURCES += \
    resource.qrc


win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../dataspecification/release/ -ldataspecification
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../dataspecification/debug/ -ldataspecification
else:unix: LIBS += -L$$OUT_PWD/../dataspecification/ -ldataspecification

INCLUDEPATH += $$PWD/../dataspecification
DEPENDPATH += $$PWD/../dataspecification

win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../csv/release/ -lcsv
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../csv/debug/ -lcsv
else:unix: LIBS += -L$$OUT_PWD/../csv/ -lcsv

INCLUDEPATH += $$PWD/../csv
DEPENDPATH += $$PWD/../csv
